package com.nlx.notes.module.bean.vo.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nlx.notes.module.bean.BaseVo;
import com.nlx.notes.module.core.handler.PhoneMaskSerializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Getter
@Setter
@ToString
public class UserBaseInfoVO extends BaseVo {

    /**
     *用户名称
     */
    private String userName;

    private String avatar;

    /**
     *电话号码
     */
    @JsonSerialize(using = PhoneMaskSerializer.class)
    private String phone;

    private String userCode;

    private String userType;
    /**
     * 会员过期时间
     */
    private LocalDate vipExpireDate;
    /**
     * 记账天数
     */
    private Long accountingDay;

    /**
     * 记账笔数
     */
    private Long accountingNum;


    /**
     * 性别
     */
    private Integer userSex;

    /**
     * 生日
     */
    private LocalDate birthday;

    /**
     * 个性签名
     */
    private String signature;


}
